package demo1;

class MyThread extends Thread{
    @Override
    public void run() {//线程入口
        System.out.println("hello Thread");
    }

    public class Demo1{
        public static void main(String[] args) {
            MyThread myThread=new MyThread();
            myThread.start();

            System.out.println("hello world");
        }
    }
}
